<?php
//no direct access
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
$lang =& JFactory::getLanguage();

/*
$mainframe->addCustomHeadTag('<script type="text/javascript" src="components/com_properties/includes/js/mootoolsall.js"></script>');
$mainframe->addCustomHeadTag('<link rel="stylesheet" href="components/com_properties/includes/css/mycss.css" type="text/css" />');
*/

jimport('joomla.application.component.helper');
 
// include the helper file
require_once(dirname(__FILE__).DS.'helper.php');

// get a parameter from the module's configuration
$count = $params->get('PropertiesCount');
 
// get the items to display from the helper
$properties = ModPropertiesScrollerHelper::getProperties($count);
 
// include the template for display
require(JModuleHelper::getLayoutPath('mod_properties_scroller'));
